package com.koron.order.prodForm.mapper;

import com.koron.order.prodForm.bean.po.ExperimentForm;
import com.koron.order.prodForm.bean.query.ExperimentFormQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExperimentFormMapper {
    ExperimentForm selectById(String id);

    List<ExperimentForm> list(ExperimentFormQuery query);

    boolean update(ExperimentForm experimentForm);

    boolean delete(String id);

    boolean save(ExperimentForm experimentForm);

    boolean saveEquipment(@Param("id") String id, @Param("experimentFormId") String experimentFormId, @Param("equipmentId") String equipmentId, @Param("equipmentName") String equipmentName);

    boolean updateEquipment(@Param("experimentFormId") String experimentFormId, @Param("equipmentId") String equipmentId, @Param("equipmentName") String equipmentName);
}
